

print(isinstance(123, int))  # True
print(isinstance(123.456, float))  # True
print(isinstance('123', str))  # True
print(isinstance([1, 2, 3], list))  # True
print(isinstance((1, 2, 3), tuple))  # True
print(isinstance({'name': 'Alice', 'age': 20}, dict))  # True